<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查看工作笔记</title>
</head>
<body>
<h4>我的工作笔记</h4>
<c:forEach items="${worklist}" var="work">
<p><label>标题：</label><label>${work.title}</label></p>
<p><label>内容：</label><label>${work.content}</label></p>
<p>
    <label>类别：</label>
    <label>
    <c:if test="${work.getType()==1}">技术</c:if>
    <c:if test="${work.getType()==2}">行政</c:if>
    <c:if test="${work.getType()==3}">人事</c:if>
    </label>
</p>
<p><label>日期：</label><label>${work.createDate}</label></p>
</c:forEach>
</body>
</html>
